<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/23 0023
 * Time: 上午 10:12
 */
namespace app\admin\controller;

use app\common\model\Order;
use app\common\model\User as UserModel;

/**
 * 用户会员
 * Class User
 * @package app\admin\controller
 */
class User extends Base{

    //获取会员列表
    public function getUserList(){
        $userModel = new UserModel();
        $tenantId = session('TENANT_ID');
        $users = $userModel->where('tenantId',$tenantId)->field('id,avatarUrl,name,mobile,createDate')->select();



    }
}